|
|
@@ -4,9 +4,7 @@ require "mqtt"
|
4
|
4
|
module Agents
|
5
|
5
|
class MqttAgent < Agent
|
6
|
6
|
description <<-MD
|
7
|
|
- The MQTT agent allows both publication to an MQTT topic and subscription to an MQTT topic.
|
8
|
|
-
|
9
|
|
- Setup your own broker (http://jpmens.net/2013/09/01/installing-mosquitto-on-a-raspberry-pi/) or connect to a cloud service (www.cloudmqtt.com).
|
|
7
|
+ The MQTT agent allows both publication and subscription to an MQTT topic.
|
10
|
8
|
|
11
|
9
|
MQTT is a generic transport protocol for machine to machine communication.
|
12
|
10
|
|
|
|
@@ -18,6 +16,8 @@ module Agents
|
18
|
16
|
|
19
|
17
|
Simply choose a topic (think email subject line) to publish/listen to, and configure your service.
|
20
|
18
|
|
|
19
|
+ It's easy to setup your own [broker](http://jpmens.net/2013/09/01/installing-mosquitto-on-a-raspberry-pi/) or connect to a [cloud service](www.cloudmqtt.com)
|
|
20
|
+
|
21
|
21
|
Hints:
|
22
|
22
|
Many services run mqtts (mqtt over SSL) often with a custom certificate.
|
23
|
23
|
|